import axios from "~/axios";

export function getStore(page) {
    return axios.get("/store?page=" + page);
  }
  
  export function createStore(data) {
    return axios.post("/store", data);
  }
  
  export function updateStore(id, data) {
    return axios.put(`/store/${id}`, data);
  }
  
  export function deleteStore(id) {
    return axios.delete(`/store/${id}`);
  }